extends StateBase

##飞船节点
@export var ship: BaseShip

func enter() -> void:
	super.enter()
	
	ship.animation_player.play("running")

func physics_process_update(delta: float) -> void:
	super.physics_process_update(delta)
	if ship.should_transmit():
		state_machine.change_state("TransmitStart")
	
	ship.move(ship.stats.running_speed)
